package com.study.day20190710;

public class Test {
    public static void main(String[] args) {

        System.out.println(FinalAndStatic.a());
        String str="hello";
        String str1=new String("hello");
        System.out.println(str==str1);
        System.out.println(str.equals(str1));
        System.out.println(((1<3)?"a":"b")+3+4);
        System.out.println(((1<3)?"a":"b")+(3+4.5));

        // 0100 & 0101 = 0100 = 4
        System.out.println(4&5);
        // 0100 ^ 0101 = 0001 = 1
        System.out.println(6^5);
        System.out.println(2>>1);
        // 有疑问参考下面的运算符优先级
        System.out.println(4&10>>1);
    }
}
